<?php  
require_once "../../../include.php";
checkLogin();
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
	<title>产品管理</title>
	<link rel="stylesheet" href="../../vender/sui/sui.min.css">
	<link rel="stylesheet" href="../../css/style.css">
	<link rel="stylesheet" href="../../css/admin.css">
	<link rel="stylesheet" href="../../vender/bsgrid/merged/bsgrid.all.min.css"/>
</head>
<body>
	<div class="content-title">
		<h4>产品管理</h4>
	</div>
	<div class="content-wrapper">
        <div class="btn-box">
            <a href="productAdd.php" class="sui-btn btn-primary btn-large"><i class="sui-icon icon-tb-roundadd"></i>添加产品</a>
            <a href="javascript:;" onclick="pro.delCheck()" class="sui-btn btn-danger btn-large"><i class="sui-icon icon-tb-delete"></i>批量删除</a>
        </div>
        <form id="seach" class="sui-form form-inline">
        <div class="search-box">
            搜索：
            <select name="state" class="input-fat">
                <option value="all">状态(全部)</option>
                <option value="1">上架中</option>
                <option value="0">已下架</option>
            </select>
            <input type="text" name="productName" placeholder="产品名称" class="input-fat"> 
            <input type="text" name="productId" placeholder="产品编号" class="input-fat"> 
			<span data-toggle="datepicker" class="input-daterange">
                <input type="text" name="beginTime" placeholder="发布开始时间" class="input-fat input-date"><span> -</span>
                <input type="text" name="endTime" placeholder="发布结束时间" class="input-fat input-date">
			</span>
            
        </div>
        <div class="search-box">
            &#12288;&#12288;&#12288;
            <input type="text" name="phone" placeholder="发布者手机" class="input-fat"> 
            <input type="text" name="nickName" placeholder="发布者昵称" class="input-fat"> 
            <button type="button" class="sui-btn btn-primary" onclick="pro.search()">提交</button>
            <button type="reset" class="sui-btn">重置</button>
        </div>
        </form>
		<table id="productList">
		    <tr>
		    	<th w_index="id" w_check="true" width="3%"></th>
		        <th w_index="id" width="5%;">ID</th>
		        <th w_index="productName" width="20%;">产品名称</th>
                <th w_index="productId" width="10%">产品编号</th>
                <th w_index="nickName" width="12%">发布者昵称</th>                                
                <th w_index="phone" width="12%">发布者账号</th>                                
                <th w_index="dataTime" width="10%">添加时间</th>
                <th w_render="pro.state" width="10%">状态</th>                
                <th w_render="pro.operate" width="18%">操作</th>
		    </tr>
		</table>
	</div>
</body>
</html>
<script src="../../vender/jquery/jquery-1.11.1.js"></script>
<script src="../../vender/jquery/jquery.alerts.js"></script>
<script src="../../vender/sui/sui.js"></script>
<script src="../../vender/bsgrid/merged/bsgrid.all.min.js"></script>
<script src="../../vender/bsgrid/js/lang/grid.zh-CN.min.js"></script>
<script src="../../scripts/admin.js"></script>
<script src="../../scripts/shop/product.js"></script>

